package com.currency.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
@TableName(value = "wyt_currency_pay_detail")
@ApiModel(value = "用户支付信息表")
public class WytCurrencyPayDetailPojo {
    @ApiModelProperty(value = "支付流水号")
    @TableId(value = "pay_id")
    private String payId;

    @ApiModelProperty(value = "支付类型（0 - 微信  1 - 支付宝  2 - 银联）")
    @TableField(value = "pay_type")
    private Integer payType;

    @ApiModelProperty(value = "调用支付的参数")
    @TableField(value = "pay_params")
    private String payParams;

    @ApiModelProperty(value = "支付机构返回的参数")
    @TableField(value = "return_params")
    private String returnParams;

    @ApiModelProperty(value = "创建时间")
    @TableField(value = "create_datetime")
    private Date createDatetime;

    @ApiModelProperty(value = "更新时间")
    @TableField(value = "update_datetime")
    private Date updateDatetime;

    public WytCurrencyPayDetailPojo() {

    }
}

